var React = require('react');
import { Link } from 'react-router';
import Row from 'antd/row';
import Col from 'antd/col';
import ApIndex from './sidebar';

export default class ToolsApp extends React.Component {

  constructor(props) {
    super(props);
  }

  render() {
    const { props } = this;
    return (
      <div>
        <Row>
          <Col lg={4} md={6} sm={24} xs={24}>
            <ApIndex {...props}/>
          </Col>
          <Col lg={20} md={18} sm={24} xs={24} className="main-container">
            {props.children}
          </Col>
        </Row>
      </div>
    );
  }

};
